package com.kingdee.eas.custom.app;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;
import com.kingdee.bos.BOSException;
import com.kingdee.jdbc.rowset.IRowSet;
import com.kingdee.bos.framework.*;
import java.util.ArrayList;
import java.util.HashSet;

import java.rmi.RemoteException;
import com.kingdee.bos.framework.ejb.BizController;

public interface DefineProjectFacadeController extends BizController
{
    public IRowSet queryProjectTreeById(Context ctx, String id) throws BOSException, RemoteException;
    public IRowSet queryProjectById(Context ctx, String id) throws BOSException, RemoteException;
    public IRowSet queryCompany(Context ctx) throws BOSException, RemoteException;
    public IRowSet queryOrgRangeByUser(Context ctx, String userID) throws BOSException, RemoteException;
    public boolean assignOrgUnit(Context ctx, String[] listId, ArrayList orgList) throws BOSException, RemoteException;
    public IRowSet queryProjectOrgById(Context ctx, String proId) throws BOSException, RemoteException;
    public boolean deleteProjectOrg(Context ctx, String[] listId, ArrayList orgList) throws BOSException, RemoteException;
    public HashSet queryProjectOrgByUser(Context ctx, String userId) throws BOSException, RemoteException;
}